#pragma once
#include <memory>
#include "OutputSource.h"
#include "Pal/VideoOut.h"

namespace Media{
class HdmiOutputSource:public OutputSource{
    public:
        using Ptr = std::shared_ptr<HdmiOutputSource>;
        static  Ptr Instance();

        HdmiOutputSource();
        ~HdmiOutputSource() override;
        bool Start() override;
        bool Stop() override;
        bool InputPacket(const FrameCommon::Frame::Ptr& frame) override;
        bool InputFrame(void* frame) override;
    private:
        VideoOutput* m_vOut;
};


}
